/* enum Direction {
  Up = 'UP',
  Down = 'DOWN',
  Left = 'LEFT',
  Right = 'RIGHT',
} */

enum Gender {
  MEM,
  WOMEN,
}

interface User {
  name: string
  age: number
  sex: Gender
}

const user: User = {
  name: '尼古拉斯',
  age: 30,
  sex: Gender.WOMEN, // !其实这儿写其他数值，也不会报错，只要满足是数字就行
}
console.log(user)

export {}
